﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Storyboard x:Key="Icon1OnMouseEnter">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="#00CCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="Transparent"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="White"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon1OnMouseLeave">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="White"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00CCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon2OnMouseEnter">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="#00CCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="Transparent"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="White"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon2OnMouseLeave">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="White"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00CCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon1OnMouseLeftButtonDown">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path1">
            <EasingColorKeyFrame KeyTime="0" Value="#FF7A7A7A"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon2OnMouseLeftButtonDown">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="#FF7A7A7A"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path2">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon3OnMouseEnter">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="#00CCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="Transparent"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="White"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon3OnMouseLeave">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="White"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00CCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="Icon3OnMouseLeftButtonDown">
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="path3">
            <EasingColorKeyFrame KeyTime="0" Value="#FF7A7A7A"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="IconRefreshOnMouseEnter">
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path">
            <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-990"/>
        </DoubleAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="White"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="IconRefreshOnMouseLeave">
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path">
            <EasingDoubleKeyFrame KeyTime="0" Value="-990"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-720"/>
        </DoubleAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="White"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="Transparent"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#00CCBEBE"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="IconRefreshMouseLeftButtonDown">
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path">
            <EasingDoubleKeyFrame KeyTime="0" Value="-990"/>
        </DoubleAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="#FFCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="#FF7A7A7A"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="IconRefreshMouseLeftButtonUp">
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="path">
            <EasingDoubleKeyFrame KeyTime="0" Value="-990"/>
        </DoubleAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="#00CCBEBE"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="#FBCCBEBE"/>
        </ColorAnimationUsingKeyFrames>
        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="pathRefresh">
            <EasingColorKeyFrame KeyTime="0" Value="Transparent"/>
            <EasingColorKeyFrame KeyTime="0:0:0.2" Value="White"/>
        </ColorAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="HideMenuS">
        <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="canvasS">
            <EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="0,0,0,0"/>
        </ThicknessAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="canvasMS">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="canvasMS">
            <DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value="{x:Static Visibility.Hidden}"/>
        </ObjectAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideButtonS">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideArrowS">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ShowHideArrowS">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="360"/>
        </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="ShowMenuS">
        <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="canvasS">
            <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,0"/>
            <EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="400,0,0,0"/>
        </ThicknessAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="canvasMS">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="canvasMS">
            <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
        </ObjectAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideButtonS">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideArrowS">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ShowHideArrowS">
            <EasingDoubleKeyFrame KeyTime="0" Value="360"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="180"/>
        </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="HideMenuI">
        <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="canvasI">
            <EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="0,0,0,0"/>
        </ThicknessAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="canvasMI">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="canvasMI">
            <DiscreteObjectKeyFrame KeyTime="0:0:0.4" Value="{x:Static Visibility.Hidden}"/>
        </ObjectAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideButtonI">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideArrowI">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-400"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ShowHideArrowI">
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="360"/>
        </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Key="ShowMenuI">
        <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="canvasI">
            <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,0"/>
            <EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="400,0,0,0"/>
        </ThicknessAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="canvasMI">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="canvasMI">
            <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
        </ObjectAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideButtonI">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ShowHideArrowI">
            <EasingDoubleKeyFrame KeyTime="0" Value="-400"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="ShowHideArrowI">
            <EasingDoubleKeyFrame KeyTime="0" Value="360"/>
            <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="180"/>
        </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <SolidColorBrush x:Key="TabControlNormalBorderBrush" Color="#8C8E94"/>
    <Style x:Key="TabControlStyle1" TargetType="{x:Type TabControl}">
        <Setter Property="Foreground" Value="{StaticResource {x:Static SystemColors.ControlTextBrushKey}}"/>
        <Setter Property="Padding" Value="4,4,4,4"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="{StaticResource TabControlNormalBorderBrush}"/>
        <Setter Property="Background" Value="#F9F9F9"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TabControl}">
                    <Grid ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Name="ColumnDefinition0"/>
                            <ColumnDefinition x:Name="ColumnDefinition1" Width="0"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Name="RowDefinition0" Height="Auto"/>
                            <RowDefinition x:Name="RowDefinition1" Height="*"/>
                        </Grid.RowDefinitions>
                        <Border x:Name="ContentPanel" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Column="0" KeyboardNavigation.DirectionalNavigation="Contained" Grid.Row="1" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local">
                            <ContentPresenter x:Name="PART_SelectedContentHost" ContentSource="SelectedContent" Margin="{TemplateBinding Padding}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="TabStripPlacement" Value="Bottom">
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="Auto"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Left">
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Grid.Column" TargetName="ContentPanel" Value="1"/>
                            <Setter Property="Width" TargetName="ColumnDefinition0" Value="Auto"/>
                            <Setter Property="Width" TargetName="ColumnDefinition1" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
                        </Trigger>
                        <Trigger Property="TabStripPlacement" Value="Right">
                            <Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Grid.Column" TargetName="ContentPanel" Value="0"/>
                            <Setter Property="Width" TargetName="ColumnDefinition0" Value="*"/>
                            <Setter Property="Width" TargetName="ColumnDefinition1" Value="Auto"/>
                            <Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
                            <Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="{StaticResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!--Metro Button-->
    <Style x:Key="MetroButtonStyle" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="#222222"/>
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="Padding" Value="10,5,10,5"/>
        <Setter Property="BorderBrush" Value="#222222"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <!-- We use Grid as a root because it is easy to add more elements to customize the button -->
                    <Grid x:Name="Grid">
                        <Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"/>

                        <!-- Content Presenter is where the text content etc is placed by the control -->
                        <!-- The bindings are useful so that the control can be parameterized without editing the template -->
                        <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                    </Grid>

                    <!--Each state sets a brush on the Border in the template -->
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter Property="Background" Value="#FFBDC7C6" TargetName="Border"/>
                            <Setter Property="BorderBrush" Value="#222222" TargetName="Border"/>
                            <Setter Property="Foreground" Value="White"/>
                            <Setter Property="FontSize" Value="16"/>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <!--<Setter Property="BorderThickness" Value="0"/>-->
                            <Setter Property="Background" Value="White"/>
                            <!--<Setter Property="Foreground" Value="White"/>-->
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="true"/>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="BorderBrush" Value="#7f222222" TargetName="Border"/>
                            <Setter Property="Foreground" Value="#7f222222"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--ScrollBar-->
    <!--kolor strzalek-->
    <SolidColorBrush x:Key="Foreground" Color="#FFFFFF"/>

    <!--General-->
    <SolidColorBrush x:Key="BackgroundHighlighted" Color="#FF72727A"/>
    <SolidColorBrush x:Key="BackgroundSelected" Color="#007ACC"/>
    <SolidColorBrush x:Key="BackgroundNormal" Color="#FF93A1CE"/>

    <Style x:Key="ScrollBarLineButton" TargetType="{x:Type RepeatButton}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="Focusable" Value="false"/>
        <Setter Property="Background" Value="{StaticResource BackgroundNormal}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Border Background="{TemplateBinding Background}">
                        <Path HorizontalAlignment="Center" VerticalAlignment="Center" Fill="{StaticResource Foreground}" 
                              Data="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" />
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Background" Value="{StaticResource BackgroundHighlighted}"/>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter Property="Background" Value="{StaticResource BackgroundSelected}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScrollBarPageButton" TargetType="{x:Type RepeatButton}">
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Border Background="{TemplateBinding Background}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="Focusable" Value="false"/>
        <Setter Property="Background" Value="{StaticResource BackgroundNormal}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Thumb}">
                    <Grid>
                        <Rectangle Fill="{TemplateBinding Background}" Margin="3"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Background" Value="{StaticResource BackgroundHighlighted}"/>
                        </Trigger>
                        <Trigger Property="IsDragging" Value="True">
                            <Setter Property="Background" Value="{StaticResource BackgroundSelected}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="VerticalScrollBar" TargetType="{x:Type ScrollBar}">
        <Grid Width="16">
            <Grid.RowDefinitions>
                <RowDefinition Height="16"/>
                <RowDefinition/>
                <RowDefinition Height="16"/>
            </Grid.RowDefinitions>
            <RepeatButton Grid.Row="0" Style="{StaticResource ScrollBarLineButton}" Content="M 0 4 L 8 4 L 4 0 Z" Command="ScrollBar.LineUpCommand"/>
            <Track x:Name="PART_Track"
                Grid.Row="1"
                IsDirectionReversed="true">
                <Track.DecreaseRepeatButton>
                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand" />
                </Track.DecreaseRepeatButton>
                <Track.Thumb>
                    <Thumb Style="{StaticResource ScrollBarThumb}"/>
                </Track.Thumb>
                <Track.IncreaseRepeatButton>
                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageDownCommand" />
                </Track.IncreaseRepeatButton>
            </Track>
            <RepeatButton Grid.Row="2" Style="{StaticResource ScrollBarLineButton}" Command="ScrollBar.LineDownCommand" Content="M 0 0 L 4 4 L 8 0 Z"/>
        </Grid>
    </ControlTemplate>
    <ControlTemplate x:Key="HorizontalScrollBar" TargetType="{x:Type ScrollBar}">
        <Grid Height="16">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="16"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="16"/>
            </Grid.ColumnDefinitions>
            <RepeatButton Grid.Column="0" Style="{StaticResource ScrollBarLineButton}" Content="M 0 4 L 4 8 L 4 0 Z" Command="ScrollBar.LineLeftCommand"/>
            <Track x:Name="PART_Track"
                Grid.Column="1"
                IsDirectionReversed="false">
                <Track.DecreaseRepeatButton>
                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand" />
                </Track.DecreaseRepeatButton>
                <Track.Thumb>
                    <Thumb Style="{StaticResource ScrollBarThumb}"/>
                </Track.Thumb>
                <Track.IncreaseRepeatButton>
                    <RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageRightCommand" />
                </Track.IncreaseRepeatButton>
            </Track>
            <RepeatButton Grid.Column="2" Style="{StaticResource ScrollBarLineButton}" Content="M 4 4 L 0 8 L 0 0 Z" Command="ScrollBar.LineRightCommand"/>
        </Grid>
    </ControlTemplate>
    <Style TargetType="{x:Type ScrollBar}">
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Style.Triggers>
            <Trigger Property="Orientation" Value="Vertical">
                <Setter Property="Width" Value="18"/>
                <Setter Property="Height" Value="Auto" />
                <Setter Property="Template" Value="{StaticResource VerticalScrollBar}" />
            </Trigger>
            <Trigger Property="Orientation" Value="Horizontal">
                <Setter Property="Height" Value="18"/>
                <Setter Property="Width" Value="Auto" />
                <Setter Property="Template" Value="{StaticResource HorizontalScrollBar}" />
            </Trigger>
        </Style.Triggers>
    </Style>
    
    <Style TargetType="ScrollViewer">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollViewer}">
                    <Grid x:Name="Grid" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" Grid.Row="0"/>
                        <ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Width="16"/>
                        <ScrollBar x:Name="PART_HorizontalScrollBar" AutomationProperties.AutomationId="HorizontalScrollBar" Cursor="Arrow" Grid.Column="0" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Height="16"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--odl icon-->
    <!--<Canvas x:Name="Icon2" Width="44.615" Height="44.7861" Grid.Row="0" HorizontalAlignment="Left" Margin="24,7.5,0,7.213">
			<Path Width="25.3522" Height="25.0359" Canvas.Left="5.23416" Canvas.Top="6.60469" Stretch="Fill" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FFCA1616" Data="F1 M 6.30007,30.6406C 5.8055,24.3559 8.1124,18.1737 12.6031,13.7492C 17.0939,9.32471 23.3096,7.10999 29.5863,7.69788"/>
			<Path Width="24.5845" Height="25.8022" Canvas.Left="13.911" Canvas.Top="12.1862" Stretch="Fill" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FFCA1616" Data="F1 M 37.3554,13.1862C 38.0761,19.449 35.9935,25.7103 31.6651,30.2938C 27.3367,34.8772 21.2048,37.3145 14.911,36.9532"/>
			<Path Width="7.83586" Height="8.99957" Canvas.Left="12.4738" Canvas.Top="32.1671" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FFCA1616" Fill="#FFCA1616" Data="F1 M 12.4738,36.5941L 20.2256,41.1667L 20.3097,32.1671L 12.4738,36.5941 Z "/>
			<Path Width="5.76754" Height="9.22781" Canvas.Left="1.80688" Canvas.Top="33.7514" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3F995B" Data="F1 M 7.07442,34.2514L 2.30688,42.4792"/>
			<Path Width="5.45445" Height="8.61267" Canvas.Left="7.26647" Canvas.Top="34.3665" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3F995B" Data="F1 M 7.76647,34.8665L 12.2209,42.4792"/>
			<Path Width="4.61375" Height="4.61374" Canvas.Left="4.84444" Canvas.Top="31.7138" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 7.15131,31.7138C 8.42537,31.7138 9.45818,32.7466 9.45818,34.0207C 9.45818,35.2947 8.42535,36.3275 7.15131,36.3275C 5.87726,36.3275 4.84444,35.2947 4.84444,34.0207C 4.84444,32.7466 5.87726,31.7138 7.15131,31.7138 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.550001" RadiusY="0.550002" Center="0.499999,0.499997" GradientOrigin="0.499999,0.499997">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
			<Path Width="4.61375" Height="4.61371" Canvas.Left="0" Canvas.Top="40.1724" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 2.30688,40.1724C 3.58093,40.1724 4.61375,41.2052 4.61375,42.4792C 4.61375,43.7533 3.58092,44.7861 2.30688,44.7861C 1.03283,44.7861 0,43.7533 0,42.4792C 0,41.2052 1.03283,40.1724 2.30688,40.1724 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.550001" RadiusY="0.549999" Center="0.5,0.499993" GradientOrigin="0.5,0.499993">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
			<Path Width="4.61375" Height="4.61371" Canvas.Left="9.91403" Canvas.Top="40.1724" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 12.2209,40.1724C 13.495,40.1724 14.5278,41.2052 14.5278,42.4792C 14.5278,43.7533 13.495,44.7861 12.2209,44.7861C 10.9469,44.7861 9.91403,43.7533 9.91403,42.4792C 9.91403,41.2052 10.9468,40.1724 12.2209,40.1724 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.549998" RadiusY="0.549999" Center="0.500001,0.499993" GradientOrigin="0.500001,0.499993">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
			<Path Width="7.83585" Height="8.9996" Canvas.Left="23.6871" Canvas.Top="3.13885" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FFCA1616" Fill="#FFCA1616" Data="F1 M 31.523,7.71146L 23.7712,3.13885L 23.6871,12.1385L 31.523,7.71146 Z "/>
			<Path Width="5.76753" Height="9.22781" Canvas.Left="31.8938" Canvas.Top="2.03751" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3F995B" Data="F1 M 37.1613,2.53751L 32.3938,10.7653"/>
			<Path Width="5.45444" Height="8.61267" Canvas.Left="37.3534" Canvas.Top="2.65265" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3F995B" Data="F1 M 37.8534,3.15265L 42.3078,10.7653"/>
			<Path Width="4.61374" Height="4.61371" Canvas.Left="34.9314" Canvas.Top="0" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 37.2382,0C 38.5123,0 39.5451,1.03278 39.5451,2.30682C 39.5451,3.58087 38.5123,4.61371 37.2382,4.61371C 35.9642,4.61371 34.9314,3.58087 34.9314,2.30682C 34.9314,1.03278 35.9642,0 37.2382,0 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.550002" RadiusY="0.549999" Center="0.5,0.499993" GradientOrigin="0.5,0.499993">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
			<Path Width="4.61374" Height="4.61374" Canvas.Left="30.0869" Canvas.Top="8.45853" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 32.3938,8.45853C 33.6679,8.45853 34.7007,9.49133 34.7007,10.7654C 34.7007,12.0394 33.6679,13.0723 32.3938,13.0723C 31.1198,13.0723 30.0869,12.0394 30.0869,10.7654C 30.0869,9.49133 31.1198,8.45853 32.3938,8.45853 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.550002" RadiusY="0.550002" Center="0.5,0.499997" GradientOrigin="0.5,0.499997">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
			<Path Width="4.61374" Height="4.61374" Canvas.Left="40.001" Canvas.Top="8.45853" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Data="F1 M 42.3078,8.45853C 43.5819,8.45853 44.6147,9.49133 44.6147,10.7654C 44.6147,12.0394 43.5819,13.0723 42.3078,13.0723C 41.0338,13.0723 40.001,12.0394 40.001,10.7654C 40.001,9.49133 41.0338,8.45853 42.3078,8.45853 Z ">
				<Path.Fill>
					<RadialGradientBrush RadiusX="0.549999" RadiusY="0.550002" Center="0.500003,0.499997" GradientOrigin="0.500003,0.499997">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup/>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF2C19CC" Offset="0"/>
						<GradientStop Color="#FF667CB0" Offset="0.460465"/>
						<GradientStop Color="#FFA1E095" Offset="1"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
		</Canvas>-->
</ResourceDictionary>